package javatools.datatypes;
/** 
This class is part of the Java Tools (see http://mpii.de/~suchanek/downloads/javatools).
It is licensed under the Creative Commons Attribution License 
(see http://creativecommons.org/licenses/by/3.0) by 
Fabian M. Suchanek (see http://mpii.de/~suchanek).
  
If you use the class for scientific purposes, please cite our paper
  Fabian M. Suchanek, Georgiana Ifrim and Gerhard Weikum
  "Combining Linguistic and Statistical Analysis to Extract Relations from Web Documents" (SIGKDD 2006)

This interface is for the common visitor design pattern.
*/
public interface Visitable<T>   {
  /** Sends a visitor through all elements. Returns whatever the visitor returned. */
  public boolean receive(Visitor<Tree<T>> visitor) throws Exception ;
}
